@import "../../layouts/index.less";

.login {
    background-color: #fff;

    &_code_btn {
        color: #0270DF;
    }

    &_left {
        background-image: url('../../assets/login_people.png');
        background-size: cover;
        background-position: center center;
        height: 100vh;
        background-repeat: no-repeat;
        color: #fff;
        position: relative;
        z-index: 100;
        flex: 6;
        z-index: 1;



        &_content {
            padding: 40px 0 0 90px;
        }

        &_h1 {
            padding: 12px;
            width: auto;
            background-color: #011C64;
            border-radius: 47px;
            display: inline-flex;
            min-width: 246px;
            font-size: 24px;
            color: #fff;
            margin-top: 15vh;
        }

        &_h2 {
            background: rgba(255, 255, 255, 0.14);
            -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
            border-radius: 14px;
            padding: 18px 20px;
            width: 246px;
            margin-top: 15px;
        }

        &_money {
            position: absolute;
            bottom: 20vh;
            right: -50px;
            background: rgba(0, 0, 0, 0.7);
            -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
            min-width: 220px;
            padding: 13px 15px;
            border-radius: 49px;
        }

    }



    &_blue {
        width: 10px;
        height: 10px;
        background-color: #94f6fe;
        border-radius: 50%;
        position: absolute;
        -webkit-animation: move 1.2s ease-in-out infinite alternate;
        animation: move 1.2s ease-in-out infinite alternate;

    }

    &_bg_blue {
        width: 10px;
        height: 10px;
        background: radial-gradient(36.84% 36.84% at 21.05% 31.58%, #9EF5FE 0%, #4EBCFB 100%);
        /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
        -webkit-animation: move 1.2s ease-in-out infinite alternate;
        animation: move 1.2s ease-in-out infinite alternate;
        border-radius: 50%;
        position: absolute;

    }





    &_right {
        background: #fff;
        flex: 4;
        border-radius: 8px;


        &_remeber {
            cursor: pointer;
            color: #0177FF;
        }

        &_card {
            border-color: transparent;
            background-color: transparent;
            // box-shadow: 0 0px 1px 0px rgba(157, 174, 200, 0.25),
            //     2px 2px 19px 4px rgba(157, 174, 200, 0.25);

            .ant-tabs-nav {
                margin: 0 0 7px 0;

                &::before {
                    border-bottom: 0;
                }


            }

            .ant-tabs-tab {
                font-size: 24px;
                padding: 20px 0px;

            }

            .ant-tabs-tab-btn {
                color: #333;
                transition: none;
            }

            .ant-tabs-tab:first-child {
                &::after {
                    position: absolute;
                    content: "";
                    border: 1px solid #000000;
                    top: 50%;

                    right: -17px;
                    transform: translateY(-50%);
                    height: 20px;
                }

            }

            .ant-tabs-tab-active {
                .ant-tabs-tab-btn {
                    font-weight: 400;
                    color: #133EA5 !important;
                }

            }

            .ant-tabs-tab+.ant-tabs-tab {
                margin: 0 0 0 33px;
            }

            .ant-tabs-ink-bar {
                display: none;
                background: #011C64 !important;
            }

            .ant-card-body {
                padding: 0;
            }

            &_title {
                font-size: 32px;
                font-weight: bold;
                margin-bottom: 24px;
                color: #333;
            }
        }

        &_common_word {
            color: @colorPrimary;
            cursor: pointer;
        }

        .ant-form-item-explain-connected {
            line-height: 28px;
        }

        &_action {
            color: #666;
            display: flex;
            justify-content: space-between;
        }

        &_btn:hover {
            border-color: transparent !important;
        }

        &_word {
            color: #133EA5;
            cursor: pointer;
            font-size: 16px;
        }

        &_form {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 400px;
            z-index: 2;

            .ant-form-item {
                margin-bottom: 28px;
            }



            .checkbox {
                .ant-form-item-control-input {
                    min-height: 22px;
                }

                .ant-form-item-explain-connected {
                    line-height: 20px;
                }
            }
        }

        &_bg {
            background: url('../../assets/logo.png');
            width: 473px;
            height: 473px;
            position: absolute;
            bottom: 0;
            right: 0;
            background-size: 100% 100%;
            z-index: 1;
        }

        &_forget {
            cursor: pointer;
        }
    }
}

.ant-input-outlined {
    border-color: #91959A;
}

@keyframes move {
    0% {
        transform: translate(0, 0);

    }

    100% {

        transform: translate(0, 10px);
    }
}

@-webkit-keyframes move {
    0% {
        transform: translate(0, 0);
    }

    100% {

        transform: translate(0, 10px);

    }
}

@-webkit-keyframes move1 {
    0% {
        transform: translate(0, 0);
    }

    100% {

        transform: translate(0, -10px);
    }
}

@keyframes move1 {
    0% {
        transform: translate(0, 0);
    }

    100% {

        transform: translate(0, -10px);
    }
}